<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <form action="/res_std" method="post">
      <div><input type="hidden" value="<%=std.id%>" name="id" /></div>
      <div>姓名:<input type="text" name="name" value="<%=std.name%>" /></div>
      <div>年龄:<input type="number" name="age" max="150" min="0" value="<%=std.age%>" /></div>
      <div>
        性别： <input type="radio" name="gender" value="男" <%=std.gender ==="男" && "checked" %>/>男 <input
        type="radio" name="gender" value="女"<%=std.gender ==="女" && "checked" %> />女
      </div>
      <div>地址:<input type="text" name="address" value="<%=std.address%>" /></div>
      <button>提交</button>
    </form>
  </body>
</html>
